<template>

  <div class="detail-swiper" >
    <swiper class="d-swiper" >
      <swiper-item v-for=" item in topImages" >
        <img :src="item" alt="">
      </swiper-item>
    </swiper>
  </div>


</template>

<script>
//导入轮播图
import {Swiper, SwiperItem} from "../../../components/common/swiper";

export default {
  name: "DetailSwiper",
  components:{
    Swiper,
    SwiperItem
  },
  props: {
    topImages: {
      type: Array,
      default(){
        return []
      }
    }
  }
}
</script>

<style scoped>
  .d-swiper{
    height: 300px;
    overflow: hidden;
  }
</style>
